package org.NooLab.tikaserver.intf;

public interface TikaSrvDataTransferPkgIntf {

	public static final int _TRANSFER_DATA_TYPE_LOCALFILE  = 1 ;
	public static final int _TRANSFER_DATA_TYPE_REMOTEFILE = 2 ; // must be accessible
	public static final int _TRANSFER_DATA_TYPE_BINDATA    = 5 ; // the document in its raw = binary form

	public static final int _TRANSFER_CONFIRMATION_GENERALFAIL = -7;
	public static final int _TRANSFER_CONFIRMATION_SOURCEFAIL = -3;
	
	public static final int _TRANSFER_CONFIRMATION_SOURCEOK  = 1;
	public static final int _TRANSFER_CONFIRMATION_COMPLETED = 8;
	
	
	
	
	public void setResultText(String text);
	public String getResultText();
	
	
	public String getFilename();
	public void setFilename(String filname);

	public int getTypeOfData();
	public void setTypeOfData(int _type);
	
	public void setConfirmationCode(int confcode);
	public int getConfirmationCode();
	
	public Object getBinData();
	public void setBinData( Object obj);
	
	public String getGuid();
	public void setGuid(String guid);
	
	
}
